Skip to content

Conversation

Copy link

Copilot AI commented Nov 5, 2025

Migrates ASP.NET Core benchmark projects from .NET 9.0 to .NET 10.0 SDK and runtime.

Changes

Framework updates:

  • Updated 5 aspnetcore Dockerfiles: sdk:9.0sdk:10.0, aspnet:9.0aspnet:10.0
  • Updated 3 .csproj files: TargetFramework changed from net9.0 to net10.0

Files modified:

  • CSharp/aspnetcore/: aspnetcore.dockerfile, aspnetcore-minimal.dockerfile, aspnetcore-mvc.dockerfile, aspnetcore-aot.dockerfile, aspnetcore-mysql.dockerfile
  • CSharp/aspnetcore/src/: Platform.csproj, Minimal.csproj, Mvc.csproj

Example change:

-FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
-<TargetFramework>net9.0</TargetFramework>
+<TargetFramework>net10.0</TargetFramework>

[!WARNING]

This pull request was created as a result of the following prompt from Copilot chat.

Update all Dockerfiles under CSharp/aspnetcore to use the base image mcr.microsoft.com/dotnet/sdk:10.0 instead of any previous sdk tags. Additionally, update all associated .csproj project files under CSharp/aspnetcore to target net10 (net 10.0) as their TargetFramework. Ensure to update any global.json files referencing the SDK version accordingly. After making the changes, ensure that the Docker images build successfully and the source compiles cleanly for the updated version.

Original prompt

Update all Dockerfiles under CSharp/aspnetcore to use the base image mcr.microsoft.com/dotnet/sdk:10.0 instead of any previous sdk tags. Additionally, update all associated .csproj project files under CSharp/aspnetcore to target net10 (net 10.0) as their TargetFramework. Ensure to update any global.json files referencing the SDK version accordingly. After making the changes, ensure that the Docker images build successfully and the source compiles cleanly for the updated version.

This pull request was created as a result of the following prompt from Copilot chat.

Update all Dockerfiles under CSharp/aspnetcore to use the base image mcr.microsoft.com/dotnet/sdk:10.0 instead of any previous sdk tags. Additionally, update all associated .csproj project files under CSharp/aspnetcore to target net10 (net 10.0) as their TargetFramework. Ensure to update any global.json files referencing the SDK version accordingly. After making the changes, ensure that the Docker images build successfully and the source compiles cleanly for the updated version.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update Dockerfiles and project files for .NET 10.0 Migrate CSharp/aspnetcore projects to .NET 10.0 Nov 5, 2025
Copilot finished work on behalf of sebastienros November 5, 2025 23:37
Copilot AI requested a review from sebastienros November 5, 2025 23:37
@sebastienros
Copy link
Owner

@copilot revert the changes that are not under frameworks/CSharp/aspnetcore/

Copy link
Author

Copilot AI commented Nov 5, 2025

@copilot revert the changes that are not under frameworks/CSharp/aspnetcore/

Done. Reverted all aspnetcore-mono changes in commit 09e3c61. Only the 8 files under frameworks/CSharp/aspnetcore/ remain updated to .NET 10.0.

Copilot finished work on behalf of sebastienros November 5, 2025 23:47
@sebastienros sebastienros marked this pull request as ready for review November 5, 2025 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants